package br.com.drestranho.escola.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="disciplina_nome", schema="public")
public class DisciplinaNome implements Serializable {
       @Id
       @SequenceGenerator(name="seq_disciplina_nome", sequenceName="seq_disciplina_nome", allocationSize=1)
       @GeneratedValue(generator="seq_disciplina_nome", strategy=GenerationType.SEQUENCE)
       @Column(name="id")
       Integer id;
       @Column(name="nome")
       String nome;
               
       public Integer getId() {
               return id;
       }
       public void setId(Integer id) {
               this.id = id;
       }
		public String getNome() {
			return nome;
		}
		public void setNome(String nome) {
			this.nome = nome;
		}
       
       
       
}